package com.software.myopiaparents.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @设备列表.
 * @time 2020/5/18.
 * @description
 */

public class DeviceListInfo implements Serializable {


    /**
     * status : success
     * code : 10000
     * msg : 获取成功
     * time : 1589939819
     * data : {"list":[{"binding_id":2,"name":"小公主","device_code":"111"},{"binding_id":3,"name":"","device_code":"323"}]}
     */

    private String status;
    private String code;
    private String msg;
    private long time;
    private DataBean data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * binding_id : 2
             * name : 小公主
             * device_code : 111
             */

            private int binding_id;
            private String name;
            private String device_code;

            public int getBinding_id() {
                return binding_id;
            }

            public void setBinding_id(int binding_id) {
                this.binding_id = binding_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDevice_code() {
                return device_code;
            }

            public void setDevice_code(String device_code) {
                this.device_code = device_code;
            }
        }
    }
}
